﻿@{
    ViewData["Title"] = "Allocate";
    Layout = "~/Views/Shared/Temp.cshtml";
}

<!DOCTYPE html>
<html lang="zh">
<body>
    <san style="font-size:20px;font-weight:bold;color:dodgerblue;margin-left:25px">|</san>
    <span style="font-size: 17px; font-weight: bold;">调拨管理</span>
    <div style=" margin-bottom: 20px; text-align: right; font-size: 14px;">
        <button type="button" style="text-align:center;" class="layui-btn layui-btn-normal" onclick="window.location.reload();">刷新</button>
        <button type="button" style="text-align:center;" class="layui-btn layui-btn-normal">返回</button>
    </div>
    <hr />
    <div class="layui-container">
        <span style="font-size: 17px; font-weight: bold;">数据筛选</span>
        <br />
        <!-- 查询区域 -->
        <div class="layui-form layui-form-pane" style="margin-top:20px">
            <div class="layui-form-item">
               @*  <label class="layui-form-label">调拨单号</label>
                <div class="layui-input-inline">
                    <input type="text" id="AllocateCode" placeholder="请输入" name="AllocateCode" class="layui-input">
                </div> *@
                <label class="layui-form-label">起始时间</label>
                <div class="layui-input-inline layui-input-wrap">
                    <div class="layui-input-prefix">
                        <i class="layui-icon layui-icon-date"></i>
                    </div>
                    <input type="date" name="StartDate" id="StartDate" lay-verify="date" autocomplete="off" class="layui-input">
                </div>

                <div class="layui-input-inline layui-input-wrap">
                    <div class="layui-input-prefix">
                        <i class="layui-icon layui-icon-date"></i>
                    </div>
                    <input type="date" name="EndDate" id="EndDate" lay-verify="date" autocomplete="off" class="layui-input">
                </div>

                <label class="layui-form-label">单据状态</label>
                <div class="layui-input-inline">
                    <select id="AllocateState" name="AllocateState" lay-filter="aihao">
                        <option value=""></option>
                        <option value="1">待审核</option>
                        <option value="2">审核通过</option>
                        <option value="3">审核失败</option>、
                    </select>
                </div>

            </div>
            <button type="button" class="layui-btn layui-icon layui-icon-search" onclick="onpageshow()">查询</button>
            <button type="button" class="layui-btn layui-icon layui-icon-search">重置</button>
        </div>
        <hr />
        <br />
        <hr />

        <!-- 表格区域 -->
        <span style="font-size: 17px; font-weight: bold;margin-bottom:20px">数据列表</span>
        <button type="button" class="layui-btn layui-icon layui-icon-addition" style="margin-left:700px" lay-on="test-page-custom1" onclick="window.location.href='/Allocate/AddAllocate'">新增</button>
        <button type="button" class="layui-btn layui-icon layui-icon-delete" onclick="Delete()">批量删除</button>
        <button type="button" class="layui-btn layui-icon layui-icon-refresh" onclick="location.reload()">刷新</button>
        <script type="text/html" id="toolbarDemo"></script>
        <br />
        <br />
        <div>
            <table class="layui-hide" id="ID-table-demo-templet"></table>
        </div>
    </div>

    <script src="~/js/allocate/getallocate.js"></script>


</body>
</html>
